/*
 * Copyright (c) M2TK Project. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package m2tk.assistant.app.kernel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_pcr_check")
public class PCRCheckEntity
{
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("pid")
    private Integer pid;

    @TableField("pre_pcr")
    private Long previousValue;
    @TableField("pre_pct")
    private Long previousPosition;
    @TableField("cur_pcr")
    private Long currentValue;
    @TableField("cur_pct")
    private Long currentPosition;

    @TableField("bitrate")
    private Long bitrate;

    @TableField("int_ns")
    private Long intervalNanos;
    @TableField("dif_ns")
    private Long diffNanos;
    @TableField("acc_ns")
    private Long accuracyNanos;

    @TableField("is_rep_check_failed")
    private Boolean repetitionCheckFailed;
    @TableField("is_dct_check_failed")
    private Boolean discontinuityCheckFailed;
    @TableField("is_acc_check_failed")
    private Boolean accuracyCheckFailed;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getPid()
    {
        return pid;
    }

    public void setPid(Integer pid)
    {
        this.pid = pid;
    }

    public Long getPreviousValue()
    {
        return previousValue;
    }

    public void setPreviousValue(Long previousValue)
    {
        this.previousValue = previousValue;
    }

    public Long getPreviousPosition()
    {
        return previousPosition;
    }

    public void setPreviousPosition(Long previousPosition)
    {
        this.previousPosition = previousPosition;
    }

    public Long getCurrentValue()
    {
        return currentValue;
    }

    public void setCurrentValue(Long currentValue)
    {
        this.currentValue = currentValue;
    }

    public Long getCurrentPosition()
    {
        return currentPosition;
    }

    public void setCurrentPosition(Long currentPosition)
    {
        this.currentPosition = currentPosition;
    }

    public Long getBitrate()
    {
        return bitrate;
    }

    public void setBitrate(Long bitrate)
    {
        this.bitrate = bitrate;
    }

    public Long getIntervalNanos()
    {
        return intervalNanos;
    }

    public void setIntervalNanos(Long intervalNanos)
    {
        this.intervalNanos = intervalNanos;
    }

    public Long getDiffNanos()
    {
        return diffNanos;
    }

    public void setDiffNanos(Long diffNanos)
    {
        this.diffNanos = diffNanos;
    }

    public Long getAccuracyNanos()
    {
        return accuracyNanos;
    }

    public void setAccuracyNanos(Long accuracyNanos)
    {
        this.accuracyNanos = accuracyNanos;
    }

    public Boolean getRepetitionCheckFailed()
    {
        return repetitionCheckFailed;
    }

    public void setRepetitionCheckFailed(Boolean repetitionCheckFailed)
    {
        this.repetitionCheckFailed = repetitionCheckFailed;
    }

    public Boolean getDiscontinuityCheckFailed()
    {
        return discontinuityCheckFailed;
    }

    public void setDiscontinuityCheckFailed(Boolean discontinuityCheckFailed)
    {
        this.discontinuityCheckFailed = discontinuityCheckFailed;
    }

    public Boolean getAccuracyCheckFailed()
    {
        return accuracyCheckFailed;
    }

    public void setAccuracyCheckFailed(Boolean accuracyCheckFailed)
    {
        this.accuracyCheckFailed = accuracyCheckFailed;
    }
}
